﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RptAllCustomerInfo.aspx.cs"
    Inherits="ZX.WebApp.Crm.Report.RptAllCustomerInfo" %>

<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPager" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxTabControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxClasses" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Xpo.v11.2.Web, Version=11.2.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Xpo" TagPrefix="dx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../Styles/base.css" rel="stylesheet" type="text/css" />
    <link href="../../Styles/extendTable.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div class="fieldForm" id="fieldForm">
            <div id="content">
                <h3>
                    查询</h3>
                <table class="table1">
                    <tr>
                        <td width="10%" align="right">
                            客户名称
                        </td>
                        <td>
                            <input type="text" id="txtCustomerName" style="width:200px; vertical-align:bottom" runat="server" />
                            <asp:Button ID="btnSearch" runat="server" Text="查询" OnClick="btnSearch_Click" Height="26" CssClass="btnCheck" />
                        </td>
                    </tr>
                </table>
            </div>
            <div class="extendDiv">
                <h3>
                    数据列表</h3>
                <div>
                    <dx:ASPxGridView ID="gvAllCustomerInfo" ClientInstanceName="gvAllCustomerInfo" runat="server"
                        KeyFieldName="ID" SettingsPager-Visible="false" SettingsPager-PageSize="20" CssFilePath="~/App_Themes/Office2010Silver/{0}/styles.css"
                        CssPostfix="Office2010Silver" Width="100%">
                        <Columns>
                            <dx:GridViewDataTextColumn Caption="客户编码" FieldName="Code" VisibleIndex="0">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="客户名称" FieldName="CustomerName" VisibleIndex="1">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="行业" FieldName="TradeName" VisibleIndex="2">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="主营业务" FieldName="CompanyProduct" VisibleIndex="3">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="人数" FieldName="PersonName" VisibleIndex="4">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="客户类型" FieldName="TypeName" VisibleIndex="5">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="客户来源" FieldName="OriginName" VisibleIndex="6">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="客户经理" FieldName="CustomerMgrName" VisibleIndex="7">
                            </dx:GridViewDataTextColumn>
                        </Columns>
                        <Templates>
                            <DetailRow>
                                <div>
                                    <dx:ASPxPageControl ID="pageControl" runat="server" Width="100%" EnableCallBacks="true">
                                        <TabPages>
                                            <dx:TabPage Text="联系人" Visible="true">
                                                <ContentCollection>
                                                    <dx:ContentControl runat="server">
                                                        <dx:ASPxGridView ID="gvLinkMan" runat="server" KeyFieldName="ID" DataSourceID="ObjectDataSource1"
                                                            OnBeforePerformDataSelect="LinkManGrid_DataSelect" Width="100%">
                                                            <Columns>
                                                                <dx:GridViewDataTextColumn Caption="姓名" FieldName="Caption" VisibleIndex="0">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="手机" FieldName="MobileTel" VisibleIndex="1">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="联系人类型" FieldName="PhraseText" VisibleIndex="2">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="与决策人关系" FieldName="Relation" VisibleIndex="3">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="性别" FieldName="Sex" VisibleIndex="4">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="职位" FieldName="Position" VisibleIndex="5">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="部门" FieldName="DeptName" VisibleIndex="6">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="邮箱" FieldName="Email" VisibleIndex="7">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="添加人" FieldName="UName" VisibleIndex="8">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="添加时间" FieldName="AddTime" VisibleIndex="9">
                                                                </dx:GridViewDataTextColumn>
                                                            </Columns>
                                                        </dx:ASPxGridView>
                                                    </dx:ContentControl>
                                                </ContentCollection>
                                            </dx:TabPage>
                                            <dx:TabPage Text="行销中心记录" Visible="true">
                                                <ContentCollection>
                                                    <dx:ContentControl>
                                                        <dx:ASPxGridView ID="gvCenterRecord" runat="server" KeyFieldName="ID" DataSourceID="ObjectDataSource2"
                                                            OnBeforePerformDataSelect="CenterRecordGrid_DataSelect" Width="100%">
                                                            <Columns>
                                                                <dx:GridViewDataTextColumn Caption="联系人" FieldName="Expr1" VisibleIndex="0">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="动作类型" FieldName="PhraseText" VisibleIndex="1">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="开始时间" FieldName="PlanStartDate" VisibleIndex="2">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="结束时间" FieldName="PlanEndDate" VisibleIndex="3">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="描述" FieldName="Contents" VisibleIndex="4">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="备注" FieldName="Explain" VisibleIndex="5">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="添加人" FieldName="UName" VisibleIndex="6">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="添加时间" FieldName="AddTime" VisibleIndex="7">
                                                                </dx:GridViewDataTextColumn>
                                                            </Columns>
                                                        </dx:ASPxGridView>
                                                    </dx:ContentControl>
                                                </ContentCollection>
                                            </dx:TabPage>
                                            <dx:TabPage Text="工作记录" Visible="true">
                                                <ContentCollection>
                                                    <dx:ContentControl>
                                                        <dx:ASPxGridView ID="gbWorkRecord" runat="server" KeyFieldName="ID" DataSourceID="ObjectDataSource3"
                                                            OnBeforePerformDataSelect="WorkRecordGrid_DataSelect" Width="100%">
                                                            <Columns>
                                                                <dx:GridViewDataTextColumn Caption="联系人" FieldName="Expr1" VisibleIndex="0">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="动作类型" FieldName="PhraseText" VisibleIndex="1">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="开始时间" FieldName="PlanStartDate" VisibleIndex="2">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="结束时间" FieldName="PlanEndDate" VisibleIndex="3">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="预期结果" FieldName="AnticipeResult" VisibleIndex="4">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="过程描述" FieldName="Contents" VisibleIndex="5">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="完成情况" FieldName="Result" VisibleIndex="6">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="备注" FieldName="Explain" VisibleIndex="7">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="添加人" FieldName="UName" VisibleIndex="8">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="添加时间" FieldName="AddTime" VisibleIndex="9">
                                                                </dx:GridViewDataTextColumn>
                                                            </Columns>
                                                        </dx:ASPxGridView>
                                                    </dx:ContentControl>
                                                </ContentCollection>
                                            </dx:TabPage>
                                            <dx:TabPage Text="讲师总结" Visible="true">
                                                <ContentCollection>
                                                    <dx:ContentControl>
                                                        <dx:ASPxGridView ID="gvTeacher" runat="server" KeyFieldName="ID" DataSourceID="ObjectDataSource6"
                                                            OnBeforePerformDataSelect="TeacherGrid_DataSelect" Width="100%">
                                                            <Columns>
                                                                <dx:GridViewDataTextColumn Caption="讲师名称" FieldName="LectorName" VisibleIndex="0">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="讲课时间" FieldName="PrelectDate" VisibleIndex="1">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="讲课地点" FieldName="TeachPlace" VisibleIndex="2">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="成交家数" FieldName="BargainNum" VisibleIndex="3">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="所属分公司" FieldName="DeptName" VisibleIndex="4">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="添加人" FieldName="AddTeachSumpName" VisibleIndex="5">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="添加时间" FieldName="Addtime" VisibleIndex="6">
                                                                </dx:GridViewDataTextColumn>
                                                            </Columns>
                                                        </dx:ASPxGridView>
                                                    </dx:ContentControl>
                                                </ContentCollection>
                                            </dx:TabPage>
                                            <dx:TabPage Text="订单" Visible="true">
                                                <ContentCollection>
                                                    <dx:ContentControl>
                                                        <dx:ASPxGridView ID="gvOrder" runat="server" KeyFieldName="ID" DataSourceID="ObjectDataSource4"
                                                            OnBeforePerformDataSelect="OrderGrid_DataSelect" Width="100%">
                                                            <Columns>
                                                                <dx:GridViewDataTextColumn Caption="订单编码" FieldName="Code" VisibleIndex="0">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="业绩归属" FieldName="OrderDeptName" VisibleIndex="1">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="订单类型" FieldName="OrderTypeName" VisibleIndex="2">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="订单状态" FieldName="OrderStateName" VisibleIndex="3">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="已收金额" FieldName="ResignMoney" VisibleIndex="4">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="总金额" FieldName="TotalMoney" VisibleIndex="5">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="付款方式" FieldName="PaymentType" VisibleIndex="6">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="填单人" FieldName="OrderAddUName" VisibleIndex="7">
                                                                </dx:GridViewDataTextColumn>
                                                                <dx:GridViewDataTextColumn Caption="订单日期" FieldName="AddTime" VisibleIndex="8">
                                                                </dx:GridViewDataTextColumn>
                                                            </Columns>
                                                            <Templates>
                                                                <DetailRow>
                                                                    <div>
                                                                        <dx:ASPxGridView ID="gvOrderProduct" runat="server" KeyFieldName="ID" DataSourceID="ObjectDataSourceOrderProduct"
                                                                            OnBeforePerformDataSelect="OrderProduct_DataSelect" Width="100%">
                                                                            <Columns>
                                                                                <dx:GridViewDataTextColumn Caption="产品名称" FieldName="Caption" VisibleIndex="0">
                                                                                </dx:GridViewDataTextColumn>
                                                                                <dx:GridViewDataTextColumn Caption="产品类型" FieldName="ProductType" VisibleIndex="1">
                                                                                </dx:GridViewDataTextColumn>
                                                                                <dx:GridViewDataTextColumn Caption="定价" FieldName="Money" VisibleIndex="2">
                                                                                </dx:GridViewDataTextColumn>
                                                                                <dx:GridViewDataTextColumn Caption="数量" FieldName="Amount" VisibleIndex="3">
                                                                                </dx:GridViewDataTextColumn>
                                                                                <dx:GridViewDataTextColumn Caption="折扣率" FieldName="Rebate" VisibleIndex="4">
                                                                                </dx:GridViewDataTextColumn>
                                                                                <dx:GridViewDataTextColumn Caption="折扣金额" FieldName="RebateMoney" VisibleIndex="5">
                                                                                </dx:GridViewDataTextColumn>
                                                                                <dx:GridViewDataTextColumn Caption="应收金额" FieldName="ProductResignMoney" VisibleIndex="6">
                                                                                </dx:GridViewDataTextColumn>
                                                                                <dx:GridViewDataTextColumn Caption="已收金额" FieldName="BeResignMoney" VisibleIndex="7">
                                                                                </dx:GridViewDataTextColumn>
                                                                                <dx:GridViewDataTextColumn Caption="订单产品状态" FieldName="OrderProductState" VisibleIndex="8">
                                                                                </dx:GridViewDataTextColumn>
                                                                            </Columns>
                                                                            <Templates>
                                                                                <DetailRow>
                                                                                    <div>
                                                                                        <dx:ASPxPageControl ID="ASPxPageControl1" runat="server" Width="100%">
                                                                                            <TabPages>
                                                                                                <dx:TabPage Text="缴款单" Visible="true">
                                                                                                    <ContentCollection>
                                                                                                        <dx:ContentControl>
                                                                                                            <dx:ASPxGridView ID="gvPay" runat="server" KeyFieldName="ID" DataSourceID="ObjectDataSource5"
                                                                                                                OnBeforePerformDataSelect="PayGrid_DataSelect" Width="100%">
                                                                                                                <Columns>
                                                                                                                    <dx:GridViewDataTextColumn Caption="缴款单号" FieldName="PayCode" VisibleIndex="0">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="缴款金额" FieldName="PayMoney" VisibleIndex="0">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="缴款日期" FieldName="PayDate" VisibleIndex="1">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="状态" FieldName="PayState" VisibleIndex="2">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="业绩归属" FieldName="PayDeptName" VisibleIndex="3">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="填单人" FieldName="PayAddUserName" VisibleIndex="4">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                </Columns>
                                                                                                            </dx:ASPxGridView>
                                                                                                        </dx:ContentControl>
                                                                                                    </ContentCollection>
                                                                                                </dx:TabPage>
                                                                                                <dx:TabPage Text="公开课交付单" Visible="true">
                                                                                                    <ContentCollection>
                                                                                                        <dx:ContentControl>
                                                                                                            <dx:ASPxGridView ID="gvDeliver" runat="server" KeyFieldName="ID" DataSourceID="ObjectDataSource7"
                                                                                                                OnBeforePerformDataSelect="DeliverGrid_DataSelect" Width="100%">
                                                                                                                <Columns>
                                                                                                                    <dx:GridViewDataTextColumn Caption="公开课单号" FieldName="Code" VisibleIndex="0">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="课程期数" FieldName="CourseLayoutName" VisibleIndex="1">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="成交数量" FieldName="Amount" VisibleIndex="2">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="课中服务人" FieldName="ServerName" VisibleIndex="3">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="负责交付人" FieldName="FrontServerName" VisibleIndex="4">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="谈单老师" FieldName="TeacherName" VisibleIndex="5">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="现场完款" FieldName="exp3" VisibleIndex="6">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="状态" FieldName="DeliverStateName" VisibleIndex="7">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="添加人" FieldName="AddUserName" VisibleIndex="8">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="添加时间" FieldName="AddTime" VisibleIndex="9">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                </Columns>
                                                                                                            </dx:ASPxGridView>
                                                                                                        </dx:ContentControl>
                                                                                                    </ContentCollection>
                                                                                                </dx:TabPage>
                                                                                                <dx:TabPage Text="内训交付单" Visible="true">
                                                                                                    <ContentCollection>
                                                                                                        <dx:ContentControl>
                                                                                                            <dx:ASPxGridView ID="gvTrain" runat="server" KeyFieldName="ID" DataSourceID="ObjectDataSource8"
                                                                                                                OnBeforePerformDataSelect="TrainGrid_DataSelect" Width="100%">
                                                                                                                <Columns>
                                                                                                                    <dx:GridViewDataTextColumn Caption="内训单号" FieldName="Code" VisibleIndex="0">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="独立内训" FieldName="IsSingleTrain" VisibleIndex="1">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="内训天数" FieldName="TrainSum" VisibleIndex="2">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="启动时间" FieldName="BeginDate" VisibleIndex="3">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="结案时间" FieldName="EndDate" VisibleIndex="4">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="状态" FieldName="PhraseText" VisibleIndex="5">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="添加人" FieldName="UName" VisibleIndex="6">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="添加时间" FieldName="AddTime" VisibleIndex="7">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                </Columns>
                                                                                                            </dx:ASPxGridView>
                                                                                                        </dx:ContentControl>
                                                                                                    </ContentCollection>
                                                                                                </dx:TabPage>
                                                                                                <dx:TabPage Text="项目交付单" Visible="true">
                                                                                                    <ContentCollection>
                                                                                                        <dx:ContentControl>
                                                                                                            <dx:ASPxGridView ID="gvProject" runat="server" KeyFieldName="ID" DataSourceID="ObjectDataSource9"
                                                                                                                OnBeforePerformDataSelect="ProjectGrid_DataSelect" Width="100%">
                                                                                                                <Columns>
                                                                                                                    <dx:GridViewDataTextColumn Caption="项目单号" FieldName="Code" VisibleIndex="0">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="产品名称" FieldName="ProductName" VisibleIndex="1">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="交付负责人" FieldName="FzjfName" VisibleIndex="2">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="状态" FieldName="PhraseText" VisibleIndex="3">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="添加人" FieldName="UName" VisibleIndex="4">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                    <dx:GridViewDataTextColumn Caption="添加时间" FieldName="AddTime" VisibleIndex="5">
                                                                                                                    </dx:GridViewDataTextColumn>
                                                                                                                </Columns>
                                                                                                            </dx:ASPxGridView>
                                                                                                        </dx:ContentControl>
                                                                                                    </ContentCollection>
                                                                                                </dx:TabPage>
                                                                                            </TabPages>
                                                                                        </dx:ASPxPageControl>
                                                                                    </div>
                                                                                </DetailRow>
                                                                            </Templates>
                                                                            <SettingsDetail ShowDetailRow="True" />
                                                                            <SettingsCustomizationWindow Enabled="True" />
                                                                        </dx:ASPxGridView>
                                                                    </div>
                                                                </DetailRow>
                                                            </Templates>
                                                            <SettingsDetail ShowDetailRow="True" />
                                                            <SettingsCustomizationWindow Enabled="True" />
                                                        </dx:ASPxGridView>
                                                    </dx:ContentControl>
                                                </ContentCollection>
                                            </dx:TabPage>
                                        </TabPages>
                                    </dx:ASPxPageControl>
                                </div>
                            </DetailRow>
                        </Templates>
                        <SettingsDetail ShowDetailRow="True" />
                        <SettingsCustomizationWindow Enabled="True" />
                        <SettingsPager Visible="false">
                        </SettingsPager>
                        <Images SpriteCssFilePath="~/App_Themes/Office2010Silver/{0}/sprite.css">
                            <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanelOnStatusBar>
                            <LoadingPanel Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanel>
                        </Images>
                        <ImagesFilterControl>
                            <LoadingPanel Url="~/App_Themes/Office2010Silver/GridView/Loading.gif">
                            </LoadingPanel>
                        </ImagesFilterControl>
                        <Styles CssFilePath="~/App_Themes/Office2010Silver/{0}/styles.css" CssPostfix="Office2010Silver">
                            <Header ImageSpacing="5px" SortingImageSpacing="5px">
                            </Header>
                            <LoadingPanel ImageSpacing="5px">
                            </LoadingPanel>
                        </Styles>
                        <StylesEditors ButtonEditCellSpacing="0">
                            <ProgressBar Height="21px">
                            </ProgressBar>
                        </StylesEditors>
                    </dx:ASPxGridView>
                    <dx:ASPxPager ID="ASPxPager1" runat="server" ItemsPerPage="25" CssFilePath="~/App_Themes/Office2010Silver/{0}/styles.css"
                        CssPostfix="Office2010Silver" CurrentPageNumberFormat="{0}" ItemSpacing="2px"
                        SpriteCssFilePath="~/App_Themes/Office2010Silver/{0}/sprite.css" OnPageIndexChanged="ASPxPager1_PageIndexChanged">
                        <SeparatorPaddings PaddingBottom="1px" PaddingTop="0px" />
                    </dx:ASPxPager>
                </div>
            </div>
        </div>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetCrmManagerList"
            TypeName="ZX.CRM.Library.RptAllCustomerInfo">
            <SelectParameters>
                <asp:SessionParameter DbType="Guid" Name="customerId" SessionField="CustomerId1" />
            </SelectParameters>
        </asp:ObjectDataSource>
        <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="GetCrmLinkRecord"
            TypeName="ZX.CRM.Library.RptAllCustomerInfo">
            <SelectParameters>
                <asp:SessionParameter DbType="Guid" Name="customerId" SessionField="CustomerId2" />
            </SelectParameters>
        </asp:ObjectDataSource>
        <asp:ObjectDataSource ID="ObjectDataSource3" runat="server" SelectMethod="GetCrmLinkManChoice"
            TypeName="ZX.CRM.Library.RptAllCustomerInfo">
            <SelectParameters>
                <asp:SessionParameter DbType="Guid" Name="customerId" SessionField="CustomerId3" />
            </SelectParameters>
        </asp:ObjectDataSource>
        <asp:ObjectDataSource ID="ObjectDataSource6" runat="server" SelectMethod="GetCrmTeachSump"
            TypeName="ZX.CRM.Library.RptAllCustomerInfo">
            <SelectParameters>
                <asp:SessionParameter DbType="Guid" Name="customerId" SessionField="CustomerId6" />
            </SelectParameters>
        </asp:ObjectDataSource>
        <asp:ObjectDataSource ID="ObjectDataSource4" runat="server" SelectMethod="GetCrmOrder"
            TypeName="ZX.CRM.Library.RptAllCustomerInfo">
            <SelectParameters>
                <asp:SessionParameter DbType="Guid" Name="customerId" SessionField="CustomerId4" />
            </SelectParameters>
        </asp:ObjectDataSource>
        <asp:ObjectDataSource ID="ObjectDataSourceOrderProduct" runat="server" SelectMethod="GetCrmOrderProductByOrderId"
            TypeName="ZX.CRM.Library.RptAllCustomerInfo">
            <SelectParameters>
                <asp:SessionParameter DbType="Guid" Name="OrderId" SessionField="OrderId" />
            </SelectParameters>
        </asp:ObjectDataSource>
        <asp:ObjectDataSource ID="ObjectDataSource5" runat="server" SelectMethod="GetCrmPay"
            TypeName="ZX.CRM.Library.RptAllCustomerInfo">
            <SelectParameters>
                <asp:SessionParameter DbType="Guid" Name="OrderProductId" SessionField="OrderProductId1" />
            </SelectParameters>
        </asp:ObjectDataSource>
        <asp:ObjectDataSource ID="ObjectDataSource7" runat="server" SelectMethod="GetCrmDeliverMajor"
            TypeName="ZX.CRM.Library.RptAllCustomerInfo">
            <SelectParameters>
                <asp:SessionParameter DbType="Guid" Name="OrderProductId" SessionField="OrderProductId2" />
            </SelectParameters>
        </asp:ObjectDataSource>
        <asp:ObjectDataSource ID="ObjectDataSource8" runat="server" SelectMethod="GetCrmDeliverTrain"
            TypeName="ZX.CRM.Library.RptAllCustomerInfo">
            <SelectParameters>
                <asp:SessionParameter DbType="Guid" Name="OrderProductId" SessionField="OrderProductId3" />
            </SelectParameters>
        </asp:ObjectDataSource>
        <asp:ObjectDataSource ID="ObjectDataSource9" runat="server" SelectMethod="GetCrmDeliverProInfo"
            TypeName="ZX.CRM.Library.RptAllCustomerInfo">
            <SelectParameters>
                <asp:SessionParameter DbType="Guid" Name="OrderProductId" SessionField="OrderProductId4" />
            </SelectParameters>
        </asp:ObjectDataSource>
    </div>
    </form>
</body>
</html>
